Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 20 - QuickDraw 3D Mathematical Utilities / QuickDraw 3D Mathematical Utilities Reference
QuickDraw 3D Mathematical Utilities


Converting Points from Cartesian to Polar or Spherical Form

QuickDraw 3D provides routines that you can use to convert two-dimensional points from Cartesian form (x, y) to polar form (r, q), and vice versa. QuickDraw 3D also provides routines that you can use to convert three-dimensional points from Cartesian form (x, y, z) to spherical form (r, q, f), and vice versa.


Subtopics
Q3Point2D_ToPolar
Q3PolarPoint_ToPoint2D
Q3Point3D_ToSpherical
Q3SphericalPoint_ToPoint3D

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996